import {SysRole} from "../entity/SysRole";
import {ApiProperty} from "@nestjs/swagger";

export class SysRoleDto extends SysRole {


    constructor(typeName?: string) {
        super();
        this.typeName = typeName;
    }

    @ApiProperty({description: "类型名称"})
    typeName?: string;


    // get typeName(): string {
    //     return this._typeName;
    // }
    //
    // set typeName(value: string) {
    //     this._typeName = value;
    // }
}
